//
//  MessageModel.h
//  QQ聊天列表
//
//  Created by Jorn.Wu on 15/5/23.
//  Copyright (c) 2015年 Jorn.Wu. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    MessageModelPersonOne = 0,//第一人发的消息
    MessageModelPersonTwo = 1,//第二人
    
} MessageModelType;

@interface MessageModel : NSObject

//正文
@property (nonatomic, copy) NSString *text;
//时间
@property (nonatomic, copy) NSString *time;
//发送的类型
@property (nonatomic, assign) MessageModelType type;

@property (nonatomic, assign) BOOL hideTime;

- (instancetype)initWithDict:(NSDictionary *)dict;

+ (instancetype)messageWithDict:(NSDictionary *)dict;

@end
